package com.ruoyi.dynamic.model.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.pojo.entity.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;


@Data
@EqualsAndHashCode(callSuper = false)
@TableName("youban_room")
@Schema(name = "Room对象", description = "房间表")
public class Room extends BaseEntity<Room> {

    @Schema(description = "房间唯一编号")
    private String roomNumber;

    @Schema(description = "名称")
    private String name;

    @Schema(description = "房间类型id")
    private Integer roomTypeId;

    @Schema(description = "用户id")
    private Long userId;

    @Schema(description = "房间背景图")
    private String backgroundUrl;

    @Schema(description = "房间状态0关闭1正常2封禁")
    private Integer status;

    @Schema(description = "房间介绍")
    private String content;

    @Schema(description = "声网房间号")
    private String soundNumber;

    @Schema(description = "融云群组id")
    private String groupId;

    @Schema(description = "房间类型名称 ")
    private String roomTypeName;

    @Schema(description = "经度 ")
    private BigDecimal longitude;

    @Schema(description = "经度 ")
    private BigDecimal latitude;

    @Schema(description = "动作")
    private String motion;

    @Schema(description = "性别0女1男2未知")
    private Integer sex;

    @Schema(description = "关闭时间")
    private Date closeTime;

    @Schema(description = "房主头像")
    private String userPhoto;

    @Schema(description = "房间封面图")
    private String coverImgUrl;

}
